<html>
<head><meta charset="utf-8"><title>missing rustc-dev_rt · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html">missing rustc-dev_rt</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="223330078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/missing%20rustc-dev_rt/near/223330078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shihao Xia <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html#223330078">(Jan 20 2021 at 04:06)</a>:</h4>
<p>Hello there, after x.py build, I got "note: ld: library not found for -lrustc-dev_rt.asan" when "../rust/build/x86_64-apple-darwin/stage1/bin/rustc <a href="http://test.rs">test.rs</a>  -Zsanitizer=address -o prog", am I missing any build stage?<br>
It would be great if someone can give a hint or explanation, thx</p>



<a name="223330102"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/missing%20rustc-dev_rt/near/223330102" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html#223330102">(Jan 20 2021 at 04:07)</a>:</h4>
<p>I don't know if address sanitizer is built by default</p>



<a name="223330159"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/missing%20rustc-dev_rt/near/223330159" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shihao Xia <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html#223330159">(Jan 20 2021 at 04:08)</a>:</h4>
<p>Thanks Joshua. Do we have any command to trigger building address sanitizer</p>



<a name="223330179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/missing%20rustc-dev_rt/near/223330179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html#223330179">(Jan 20 2021 at 04:09)</a>:</h4>
<p>I'm not sure, sorry</p>



<a name="223330200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/missing%20rustc-dev_rt/near/223330200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html#223330200">(Jan 20 2021 at 04:09)</a>:</h4>
<p>I see <code>sanitizers = false</code> in config.toml.example, try setting that to true?</p>



<a name="223330207"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/missing%20rustc-dev_rt/near/223330207" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shihao Xia <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/missing.20rustc-dev_rt.html#223330207">(Jan 20 2021 at 04:09)</a>:</h4>
<p>Good point!<br>
Let me try that</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>